package com.mbti.youmore.common;

import lombok.Data;

import java.util.Map;

/**
 * 全局常量
 * @author Guqier
 * @version 1.0
 * @date 2024/1/24 下午 5:30
 */
@Data
public class AppProperties {

    public static class Auth{

        /**
         * Session用户信息Key
         */
        public static final String SESSION_USER_INFO_KEY = "userInfo";

    }

    /**
     * 推荐帖子数量
     */
    public static final Integer RECOMMEND_POST_NUM = 5;

    /**
     * 推荐帖子源于附近省份数量
     */
    public static final Integer NEAREST_PROVINCE_NUM = 5;

    public static class Cache{

        public static final String VERIFY_CODE = "verifyCode:";

    }

}
